ClaimPath

value class ClaimPath(val value: List<ClaimPathElement>)(source)

The path is a non-empty list of elements, null values, or non-negative integers. It is used to SelectPath a particular claim in the credential or a set of claims.

It is serialized as a JsonArray which may contain string, null, or integer elements

Constructors

Link copied to clipboard
constructor(value: List<ClaimPathElement>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun claim(name: String): ClaimPath

Appends a named path ClaimPathElement.Claim

Link copied to clipboard

Gets the head

Link copied to clipboard
operator fun component2(): ClaimPath?

Gets the tail

Link copied to clipboard
operator fun contains(that: ClaimPath): Boolean
Link copied to clipboard
Link copied to clipboard

Gets the ClaimPath of the parent element. Returns null to indicate the root element.

Link copied to clipboard
operator fun plus(other: ClaimPath): ClaimPath
operator fun plus(other: ClaimPathElement): ClaimPath
Link copied to clipboard
fun tail(): ClaimPath?
Link copied to clipboard
open override fun toString(): String